package com.wuwei.elearning.setting.service;


import com.wuwei.elearning.setting.domain.User;
import com.wuwei.elearning.utils.result.Result;
import org.springframework.web.multipart.MultipartFile;

public interface UserService {


    Result<String> setPassword(User user, Long account, String newPassword);


    void deleteById(Long id);

    void regesiter(User user, Long createdBy, Long account);

    void myDelete(Long id);

    String uploadAvator(MultipartFile file, String token);

    User getUserInfo(String token);

    void update(Long account, User user);
}
